import { NgModule } from '@angular/core';
import { IonicModule } from 'ionic-angular';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

//引入BrowserModule 解决ngfor

import { UserlistComponent } from './userlist/userlist';
import { TopmenuComponent } from './topmenu/topmenu';
import { BottomcontactComponent } from './bottomcontact/bottomcontact';
import { ImgLazyLoadComponent } from './img-lazy-load/img-lazy-load';
import { FootComponent } from './foot/foot';

@NgModule({
	declarations: [
    UserlistComponent,
    TopmenuComponent,
    BottomcontactComponent,
    ImgLazyLoadComponent,
    FootComponent
    ],
	imports: [
    IonicModule,
    CommonModule,
    FormsModule
  ],/*引入的模块 依赖注入*/
	exports: [
    UserlistComponent,
    TopmenuComponent,
    BottomcontactComponent,
    ImgLazyLoadComponent,
    FootComponent
    ]
})
export class ComponentsModule {}
